package com.jdd.modules.parkmonthly.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.jdd.common.util.excel.annotation.Excel;
/**
 * @Description: 月卡车部门组织表
 * @Author: jdd
 * @Date:   2021-11-09
 * @Version: V1.0
 */
@Data
@TableName("monthly_department")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="monthly_department对象", description="月卡车部门组织表")
public class MonthlyDepartment {

	/**主键id*/
	@TableId(type = IdType.UUID)
	@ApiModelProperty(value = "主键id")
	private String id;
	/**父id*/
	@Excel(name = "父id", width = 15)
	@ApiModelProperty(value = "父id")
	private String parentId;
	/**部门名称*/
	@Excel(name = "部门名称", width = 15)
	@ApiModelProperty(value = "部门名称")
	private String departName;
	/**停车场编号*/
	@Excel(name = "停车场编号", width = 15)
	@ApiModelProperty(value = "停车场编号")
	private String parkCode;
	/**停车场名称*/
	@Excel(name = "停车场名称", width = 15)
	@ApiModelProperty(value = "停车场名称")
	private String parkName;
	/**部门类型(0:一级部门, 1:二级部门,2:三级部门)*/
	@Excel(name = "部门类型(0:一级部门, 1:二级部门,2:三级部门)", width = 15)
	@ApiModelProperty(value = "部门类型(0:一级部门, 1:二级部门,2:三级部门)")
	private Integer departType;
	/**部门排序*/
	@Excel(name = "部门排序", width = 15)
	@ApiModelProperty(value = "部门排序")
	private Integer sortNo;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	
	@ApiModelProperty(value = "删除状态（0，正常，1已删除）")
	private Integer delFlag;
}
